import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { RouterModule, Routes } from '@angular/router';
import { CoffeesComponent } from './../coffees/coffees.component';

const routerConfig: Routes  = [
  {
    path: '',
    component: CoffeesComponent
  }
];

@NgModule({
  imports: [
    CommonModule,
    RouterModule.forChild(routerConfig)
  ],
  exports: [
    RouterModule
  ]
})
export class CoffeesRoutingModule { }
